package com.ruoyi.paper.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考生答卷对象 exam_student_paper
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public class ExamStudentPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String studentPaperId;

    /** 试卷题目ID */
    @Excel(name = "试卷题目ID")
    private String paperLibId;

    /** 试卷ID */
    @Excel(name = "试卷ID")
    private String paperId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private String userId;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 0暂存状态、1保存状态 */
    @Excel(name = "0暂存状态、1保存状态")
    private Long status;

    /** 分数 */
    @Excel(name = "分数")
    private String score;

    public void setStudentPaperId(String studentPaperId) 
    {
        this.studentPaperId = studentPaperId;
    }

    public String getStudentPaperId() 
    {
        return studentPaperId;
    }

    public void setPaperLibId(String paperLibId) 
    {
        this.paperLibId = paperLibId;
    }

    public String getPaperLibId() 
    {
        return paperLibId;
    }

    public void setPaperId(String paperId) 
    {
        this.paperId = paperId;
    }

    public String getPaperId() 
    {
        return paperId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentPaperId", getStudentPaperId())
            .append("paperLibId", getPaperLibId())
            .append("paperId", getPaperId())
            .append("userId", getUserId())
            .append("answer", getAnswer())
            .append("status", getStatus())
            .append("score", getScore())
            .toString();
    }
}
